<template>
    <div>
        <el-container>
            <el-aside :width="collapseFlag ? '66px' : '210px'">
                <div class="logo" :style="{'width': collapseFlag ? '66px' : '210px'}">
                    <div v-if="!collapseFlag" style="white-space:nowrap;margin-left: 10px;">  管理系统</div>
                </div>
                <v-aside ref="aside"></v-aside>
            </el-aside>
            <el-container>
                <el-header>
                    <v-header @collapse="collapse"></v-header>
                </el-header>
                <v-tag></v-tag>
                <el-main>
                    <router-view></router-view>
                </el-main>
            </el-container>
        </el-container>
    </div>
</template>

<script src="./Home.js"/>
<style scoped lang="less" src="./Home.less"/>
